package com.achievo.know.domain;

import java.util.List;

import com.dayatang.domain.BaseEntityRepository;

public interface FileAttachmentRepository extends BaseEntityRepository<FileAttachment, Long>{

	List<FileAttachment> listAttachment(Long fkId, int i);

	FileAttachment getImage(Long id);

	boolean exists(String baseName);

	boolean existsPhoto(String name);

	FileAttachment getByGuid(String guid);

	void deleteTempAttachments();

	FileAttachment existsFileName(String fileName);
}
